package com.homework.im.service;

import com.baomidou.kisso.security.token.SSOToken;
import com.homework.im.vo.ImMess;
import com.homework.im.vo.ImUser;
import org.tio.http.common.HttpRequest;

import java.util.List;
import java.util.Set;

public interface ChatService {

    String buildSystemMess(Long windowId, String content);

    ImUser getCurrentUserInfoFromKisso(SSOToken ssoToken);

    Set<Object> findAllOnlineMembers();

    List<Object> getGroupHistoryMsg(int count);

    boolean setGroupHistoryMsg(ImMess imMess);

    boolean putOnlineMember(HttpRequest httpRequest);

    void popOutlineMember(String userid);
}
